package fragment;

import com.dong.yi18health.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ImageView.ScaleType;

public class fragment2 extends Fragment{

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		ImageView im=new ImageView(getActivity());
		im.setImageResource(R.drawable.welcome2);
		im.setScaleType(ScaleType.FIT_XY);
		return im;
	}
}
